package com.lanou3g.zjl.chating.home.chatwindow.child;

import android.content.Context;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.widget.RelativeLayout;

import com.lanou3g.zjl.chating.R;

/**
 * Created by dllo on 15/11/23.
 */
public class ChatWindowFrgVoice extends RelativeLayout {
    private Context context;

    public ChatWindowFrgVoice(Context context) {
        super(context);
        initView(context);
    }

    public ChatWindowFrgVoice(Context context, AttributeSet attrs) {
        super(context, attrs);
        initView(context);
    }

    public ChatWindowFrgVoice(Context context, AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
        initView(context);
    }

    private void initView(Context context) {
        this.context = context;
        // 加载 语音框 布局
        LayoutInflater.from(context).inflate(R.layout.chatwindowfrg_voice, this);
    }
}
